package com.itheima.domain.db.oms;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 退货原因表
 * @TableName oms_order_return_reason
 */
@TableName(value ="oms_order_return_reason")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OmsOrderReturnReason implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 退货类型
     */
    private String name;

    /**
     * 
     */
    private Integer sort;

    /**
     * 状态：0->不启用；1->启用
     */
    private Integer status;

    /**
     * 添加时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)//插入和更新时自动更新
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}